let app = new Vue({
    el:'#root',
    data:{
        currentIndex: 0,
        list: [
            'zhang',
            'li',
            'zhao'
        ]
    },
    methods:{
        handleClick(index){
            this.currentIndex = index;
        }
    }
})